import { Component, OnInit } from "@angular/core";
import { AppConfigService } from "../app-config.service";

@Component({
  selector: "vulnerability-page",
  templateUrl: "./vulnerability-page.component.html",
  styleUrls: ["./vulnerability-page.component.scss"]
})
export class VulnerabilityPageComponent implements OnInit {
  constructor(private appConfigService: AppConfigService) {}

  ngOnInit() {}

  public get withClair(): boolean {
    return this.appConfigService.getConfig().with_clair;
  }
}
